using Microsoft.EntityFrameworkCore;

using System.ComponentModel.DataAnnotations.Schema;

using Tool;

namespace Abc.Core.Entities
{
    /// <summary>
    /// 邮件模板
    /// </summary>
    [Table("EmailTemplate")]
    [Comment("邮件模板")]
    public class EmailTemplate : FullEntity
    {
        /// <summary>
        /// 邮件模板代码
        /// </summary>
        [Comment("邮件模板代码")]
        public string Code { get; set; }

        /// <summary>
        /// 模板内容
        /// </summary>
        [Comment("模板内容")]
        public string Content { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        [Comment("是否启用")]
        public bool IsEnable { get; set; }
    }
}